package com.banmoon.singleton;

/**
 * 饿汉式（静态常量）
 */
public class Singleton01 {

    private Singleton01() {
    }

    private final static Singleton01 instance = new Singleton01();

    public static Singleton01 getInstance(){
        return instance;
    }

}
